package com.qf.java2201.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.qf.java2201.mapper.StoreMapper;
import com.qf.java2201.vo.PieVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Store {
    private Integer collect_id;
//    private User users_id;
    private Integer users_id;
//    private Goods col_goods;
    private String col_goods;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date collect_time;
//    private Goods col_goodto;
    private String col_goodto;


//    public Store(Integer users_id, String col_goods) {
//        this.users_id = users_id;
//        this.col_goods = col_goods;
//    }
}
